package com.wlc.pojo;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 辞职申请实体类
 */
@Data
public class Resignation {
    private Long id;
    private Long employeeId;
    private String employeeName;
    private String deptName;
    private String position;
    private LocalDate applyDate;
    private LocalDate plannedLeaveDate;
    private String resignReason;
    private String handoverPlan;
    private Integer status; // 1-待审批, 2-已通过, 3-已拒绝, 4-已取消
    private Long approverId;
    private String approverName;
    private String approvalOpinion;
    private LocalDateTime approvalTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDeleted;

    // 查询条件字段
    private String searchEmployeeName;
    private String searchDeptName;
    private Integer searchStatus;
    private String startDate;
    private String endDate;
}